<template>
    <!-- <div class="searchpage"> -->
      <!-- 搜索框开始 -->
      <div class="search-input-box">
        <div class="iconfont icon-sousuo1"></div>
        <input
          type="search"
          placeholder="搜索作品、创作人、正版素材"
          class="search-input iconfont icon-sousuo1"
          autofocus
        />
        <div class="search-cancel" @click="$router.back()">取消</div>
      </div>
      <!-- 分割线 -->
      <!-- <div class="division"></div> -->

    <!-- </div> -->
  </template>
  <style lang="scss" scoped>
  // .searchpage {
    //   padding-top: 16px;
    .search-input-box {
      display: flex;
      box-sizing: border-box;
      justify-content: space-between;
      margin: 10px 20px;
      margin-top: 15px;
      // box-shadow: 0px 2px 5px 0px #ccc;
      // background: aqua;
      .search-input {
        padding: 7px 0 7px 35px;
        height: 30px;
        line-height: 16px;
        box-sizing: border-box;
        font-size: 14px;
        background: #ffffff;
        border-radius: 5px;
        border: 0px;
        background: #f1f1f1;
        color: #b5b3b3;
        width: 86%;
      }
      & > div:nth-child(1) {
        width: 10%;
        padding: 0 0 0 12px;
        position: absolute;
        font-size: 16px;
        height: 30px;
        line-height: 30px;
      }
      .search-cancel {
        // width: 10%;
        // padding: 0 0 0 16px;
        font-size: 16px;
        height: 30px;
        line-height: 30px;
      }
    }
    .division {
      width: 100%;
      height: 2px;
      background: #f7f7f7;
      // margin-bottom: ;
    }
  // }
  </style>